Skip to content

ci: wire drift_check tests into validate.yml#63

Merged
TMHSDigital merged 1 commit into
mainfrom
ci/run-drift-check-tests
May 24, 2026
Merged

ci: wire drift_check tests into validate.yml#63
TMHSDigital merged 1 commit into
mainfrom
ci/run-drift-check-tests

Conversation

@TMHSDigital
Copy link
Copy Markdown
Owner

Summary

  • Adds test-drift-check job to validate.yml that runs pytest tests/ -v on every PR and push to main.
  • Adds requirements-test.txt with pytest>=8.0,<9.0 per standards/testing.md.

Background

PR #62 added the project's first tests (tests/test_required_workflows.py, 9 tests). They were not wired into CI. This PR closes that gap.

The tests are pytest-discoverable as-is (all functions are named test_*). The test file adds scripts/ to sys.path so no PYTHONPATH config is required in the job.

Changes

File Change
.github/workflows/validate.yml New test-drift-check job
requirements-test.txt New file: pytest>=8.0,<9.0

Notes

  • ci: prefix is not subject to the VERSION-bump gate.
  • No VERSION bump included or needed.
  • test-drift-check is not added to the required-checks list (that is a repo settings change done separately if desired).

Adds a test-drift-check job to validate.yml that installs pytest from
the new requirements-test.txt and runs pytest tests/ -v on every PR and
push to main.

The 9 tests in tests/test_required_workflows.py are pytest-discoverable
as-is (functions named test_*). No conversion needed. The test file adds
scripts/ to sys.path so no PYTHONPATH config is required.

Signed-off-by: fOuttaMyPaint <tmhospitalitystrategies@gmail.com>
Signed-off-by: fOuttaMyPaint <154358121+TMHSDigital@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
pip/pytest >= 8.0,< 9.0 UnknownUnknown

Scanned Files

  • requirements-test.txt

@github-actions github-actions Bot added the ci label May 23, 2026
@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedpytest@​8.4.29099100100100

View full report

@TMHSDigital TMHSDigital merged commit 5053e7a into main May 24, 2026
14 checks passed
@TMHSDigital TMHSDigital deleted the ci/run-drift-check-tests branch May 24, 2026 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant